package com.authine.cloudpivot.ext.dto.model.invoice;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel("发票申请单记录表")
public class InvoiceRecord implements Serializable {
    private static final long serialVersionUID = 7038565851643090397L;

    @Schema(description = "开票记录编号")
    private String id;
    /**
     * 保存(save)，修改(update)，删除(del)
     */
    @Schema(description = "操作类型 保存(save)，修改(update)，删除(del)")
    private String invoiceRecordType;
    /**
     * 发票申请单id
     */
    @Schema(description = "发票申请单编号")
    private String invoice_apply_id;
    /**
     * 发票号码
     */
    @Schema(description = "发票号码")
    private String number;
    /**
     * 发票代码
     */
    @Schema(description = "发票代码")
    private String code;
    /**
     * 发票未税金额
     */
    @Schema(description = "开票未税金额")
    private BigDecimal pretax_amount;
    /**
     * 发票税额
     */
    @Schema(description = "开票税额")
    private BigDecimal tax_payable;
    /**
     * 附件数
     */
    @Schema(description = "附件数")
    private Integer number_attachments;

}
